package com.winz.cultureapp.entity;

import java.util.List;

/**
 * 场馆--场地列表
 */
public class StadiumDesListBean {

    /**
     * code : 0
     * msg : success
     * count : 1
     * totalPage : 1
     * data : {"list":[{"createTime":"2019-03-18 10:00:40","updateTime":"2019-03-18 10:00:40","sort":1,"unitId":1005,"unitName":"羽毛球馆1号场","description":"1231465","imageUrl":"http://test253.maoming.gov.cn:80/image/b1ad80bd53104f1eb0a3fff576bb08bf.png","content":"123456","phone":"2706680","managerName":"王生","telphone":"13412121212","address":"油城5路","provinceId":2147,"cityId":2223,"areaId":2225,"longitude":110.932579,"latitude":21.650993,"unitCategory":{"createTime":"2019-01-25 14:28:20","updateTime":"2019-01-25 14:28:20","sort":0,"unitCategoryId":1001,"categoryName":"体育馆","systemParam":1},"category":{"createTime":"2019-01-25 14:29:59","updateTime":"2019-01-25 14:29:59","sort":0,"categoryId":1001,"categoryName":"体育","systemParam":1},"unitType":0,"capacity":10,"facility":"无","parentId":1004,"rentFee":0,"bookStatus":1,"unitStatus":1,"acreage":"100","rowTotal":0,"colTotal":0,"seatTotal":0}]}
     */

    public int code;
    public String msg;
    public int count;
    public int totalPage;
    public DataBean data;

    public static class DataBean {
        public List<ListBean> list;

        public static class ListBean {
            /**
             * createTime : 2019-03-18 10:00:40
             * updateTime : 2019-03-18 10:00:40
             * sort : 1
             * unitId : 1005
             * unitName : 羽毛球馆1号场
             * description : 1231465
             * imageUrl : http://test253.maoming.gov.cn:80/image/b1ad80bd53104f1eb0a3fff576bb08bf.png
             * content : 123456
             * phone : 2706680
             * managerName : 王生
             * telphone : 13412121212
             * address : 油城5路
             * provinceId : 2147
             * cityId : 2223
             * areaId : 2225
             * longitude : 110.932579
             * latitude : 21.650993
             * unitCategory : {"createTime":"2019-01-25 14:28:20","updateTime":"2019-01-25 14:28:20","sort":0,"unitCategoryId":1001,"categoryName":"体育馆","systemParam":1}
             * category : {"createTime":"2019-01-25 14:29:59","updateTime":"2019-01-25 14:29:59","sort":0,"categoryId":1001,"categoryName":"体育","systemParam":1}
             * unitType : 0
             * capacity : 10
             * facility : 无
             * parentId : 1004
             * rentFee : 0
             * bookStatus : 1
             * unitStatus : 1
             * acreage : 100
             * rowTotal : 0
             * colTotal : 0
             * seatTotal : 0
             */

            public String createTime;
            public String updateTime;
            public String sort;
            public String unitId;
            public String unitName;
            public String description;
            public String imageUrl;
            public String content;
            public String phone;
            public String managerName;
            public String address;
            public String provinceId;
            public String cityId;
            public String areaId;
            public String longitude;
            public String latitude;
            public UnitCategoryBean unitCategory;
            public CategoryBean category;
            public int unitType; // 0 -- 固定场馆   1-- 非固定
            public String capacity;
            public String facility;
            public String parentId;
            public double rentFee;
            public int bookStatus;
            public String unitStatus;
            public String acreage;
            public String rowTotal;
            public String colTotal;
            public String seatTotal;

            public String appointmentStatus; // 0--不可预定 1--可预定

            public int layout_type;

            public static class UnitCategoryBean {
                /**
                 * createTime : 2019-01-25 14:28:20
                 * updateTime : 2019-01-25 14:28:20
                 * sort : 0
                 * unitCategoryId : 1001
                 * categoryName : 体育馆
                 * systemParam : 1
                 */

                public String createTime;
                public String updateTime;
                public int sort;
                public int unitCategoryId;
                public String categoryName;
                public int systemParam;
            }

            public static class CategoryBean {
                /**
                 * createTime : 2019-01-25 14:29:59
                 * updateTime : 2019-01-25 14:29:59
                 * sort : 0
                 * categoryId : 1001
                 * categoryName : 体育
                 * systemParam : 1
                 */

                public String createTime;
                public String updateTime;
                public int sort;
                public int categoryId;
                public String categoryName;
                public int systemParam;
            }
        }
    }
}
